import Vue from 'vue';
import app from './App.vue';//引入自己的app.vue组件
import VueRouter from 'vue-router';//+引入vue路由组件
import { Header,Swipe, SwipeItem  } from 'mint-ui';//*引入mint-ui的头部组件
import router from './router/index.js';//导入自己的路由模块

Vue.component(Header.name, Header);//*注册mint-ui的头部组件
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
Vue.use(VueRouter);//+注册vue路由组件

import 'mint-ui/lib/style.css';
import './assets/mui/css/mui.css';
import './assets/mui/css/icons-extra.css';
import './assets/mui/fonts/mui-icons-extra.ttf';




var vm = new Vue({
  el: '#app',
  render: c => c(app),
  router//挂在到vue实例上
})
